﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace yq.WebModel.Sys
{
    public class DepartmentEidt:yq.Model.Logic.DepartmentList
    {
        string _SuperiorDepName;

        /// <summary>
        /// 上级部门名称
        /// </summary>
        public string SuperiorDepName
        {
            get {
                
                if (string.IsNullOrEmpty(_SuperiorDepName))
                {
                    _SuperiorDepName = yq.Model.Logic.DepartmentList.Load(this.SuperiorDep).Title;
                }

                return _SuperiorDepName;
            }
        
        }


    }
}
